package DP.decoration.school.decorator;

import DP.decoration.school.component.SchoolReport;

/**
 * @author msi
 * 修饰抽象类
 */
public abstract class Decorator extends SchoolReport {
    private SchoolReport sr;

    public Decorator(SchoolReport schoolReport){
        this.sr=schoolReport;
    }

    @Override
    public void report() {
        this.sr.report();
    }

    @Override
    public void sign() {
        this.sr.sign();
    }
}
